<?php
/**
 * Created by PhpStorm.
 * User: Mak
 * Date: 2016/1/15
 * Time: 15:25
 */

namespace Home\Controller;
use Think\Controller;
use Think\Upload\Driver\Sae;


class ZyController extends Controller{

    //获取文件列表
    public function zy(){
        $this->display();
    }

    public function add(){
        $file=$_FILES;
        echo $file;
//        $sae=new Sae();
//        $ret=$sae->save();
//        if($ret){
//            $this->success('成功！', U('Home/Zy/zy'));
//        }else{
//            echo $ret;
//            $this->error('失败');
//        }
    }


}